package com.example.pojo;

public class Course {
    private String courseId;
    private String courseName;
    private String college;
    private String major;
    private String courseType;

    @Override
    public String toString() {
        return "Course{" +
                "courseId='" + courseId + '\'' +
                ", courseName='" + courseName + '\'' +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", courseType='" + courseType + '\'' +
                ", credits=" + credits +
                ", semester='" + semester + '\'' +
                '}';
    }

    private Integer credits;
    private String semester;

    public Course(String courseId, String courseName, String college, String major, String courseType, Integer credits, String semester) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.college = college;
        this.major = major;
        this.courseType = courseType;
        this.credits = credits;
        this.semester = semester;
    }

    public Course() {
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }
}
